<%-- @author: amith jayasekara--%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
<html>
<head>
    <title>Sri Tel Web Portal</title>
    <% if (session.getAttribute("theme") != null) { %>
    <link rel="stylesheet" type="text/css" href="<s:url value=""/>"/>
    <% } else {
    %>
    <link rel="stylesheet" type="text/css" href="<s:url value="%{getText('user_theme.title')}"/>"/>
    <% } %>
</head>
<body>
<div id="wrapper">
    <div id="header">
        <tiles:insertAttribute name="header"/>
    </div>
    <div id="body">
        <div id="left-sidebar">
            <tiles:insertAttribute name="menu"/>
        </div>
        <div id="main-content">
            <div class="content-title">
                <div class="content-title-left"></div>
                <div class="content-title-content">
                    <tiles:importAttribute name="title" toName="title" scope="request"/>
                    <s:label value="%{getText(#request.title)}"/>
                </div>
                <div class="content-title-right"></div>
            </div>
            <tiles:insertAttribute name="body"/>
        </div>
    </div>
    <div id="footer">
        <tiles:insertAttribute name="footer"/>
    </div>
</div>
</body>
</html>
